package n.d.l.svn.bean;

public class BaseEntitry {

	private int page;
	private int pageSize;
	private int start;
	
	public int getStart() {
		if(start==0 && pageSize!=0){
			start = (page-1)*pageSize;
		}
		return start;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
}
